var app = getApp();

Page({
    data: {
        motto: "Hello World",
        userInfo: {},
        hasUserInfo: !1,
        canIUse: wx.canIUse("button.open-type.getUserInfo"),
        swiperCurrent: 0,
        indicatorDots: !1,
        autoplay: !0
    },
    onLoad: function(o) {
        var n = this;
        app.setNavigationBarColor(this), wx.hideShareMenu(), app.getUserInfo(function(o) {
            console.log(o), n.setData({
                userInfo: o
            });
        });
    },
    myedit: function() {
        wx.navigateTo({
            url: "edit"
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {}
});